﻿using System.Collections.Generic;
using Songhay.Mvvm.ViewModels;

namespace Songhay.Silverlight.BiggestBox.IndexPart.ViewModels
{
    public class VisualStateManagerWithDataTriggerSampleViewModel : ViewModelBase
    {
        public VisualStateManagerWithDataTriggerSampleViewModel()
        {
            this._contactMethods = new string[] { "Phone", "Mail", "Online" };
        }

        public IEnumerable<string> ContactMethods
        {
            get { return _contactMethods; }
        }

        public bool IsContactable
        {
            get { return _isContactable; }
            set
            {
                this._isContactable = value;
                base.RaisePropertyChanged("IsContactable");
            }
        }

        bool _isContactable;
        IEnumerable<string> _contactMethods;
    }
}
